package com.wanjia.bpsapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.bpsapi.pojo.dto.VegePrice;
import com.wanjia.bpsapi.pojo.entity.WjStoreProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@Repository
public interface WjStoreProductMapper extends BaseMapper<WjStoreProduct> {

    List<VegePrice> getPrice(@Param("storeName") String storeName, @Param("clientId") Long clientId);


    List<VegePrice> getOtherPrice(@Param("vegeId") Long vegeId, @Param("clientId") Long clientId);
}
